<?php if (!defined('THINK_PATH')) exit();?> <div class="table-responsive">
        <table class="table table-bordered table-hover" style="font-size:12px;">
            <thead>
            <tr>
                <th style="width: 1px;" class="text-center">
                    <input type="checkbox" onclick="$('input[name*=\'selected\']').prop('checked', this.checked);">
                </th>
                <th class="text-center">
                    ID
                </th>
                <th class="text-center">
                    会计师名称
                </th>
                <th class="text-center">
                    会计师手机
                </th>
                <th class="text-center">
                    支付用户
                </th>
                <th class="text-center">
                    类型
                </th>
                <th class="text-center">
                    金额
                </th>
                <th class="text-center">
                   提现状态
                </th>
                <th class="text-center">提现时间</th>
                <th class="text-center">生成时间</th>

            </tr>
            </thead>
            <tbody>
            <?php if(is_array($lists)): $i = 0; $__LIST__ = $lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?><tr>
                    <td class="text-center">
                        <input type="checkbox" name="selected[]" value="<?php echo ($list["id"]); ?>">
                    </td>
                    <td class="text-center"><?php echo ($list["id"]); ?></td>
                    <td class="text-center"><?php echo ($list["username"]); ?></td>
                    <td class="text-center"><?php echo ($list["mobile"]); ?></td>
                    <td class="text-center"><?php echo ($list["pay_user"]); ?>[<?php echo ($list["pay_mobile"]); ?>]</td>
                    <td class="text-center">提现</td>
                    <td class="text-center"><?php echo ($list["money"]); ?></td>
                    <td class="text-center"><?php if($list["status"] == 1): ?>成功<?php else: ?><font color="red">失败</font><?php endif; ?></td>
                    <td class="text-center"><?php echo (date("Y-m-d H:i:s",$list["pay_time"])); ?></td>
                    <td class="text-center"><?php echo (date("Y-m-d H:i:s",$list["add_time"])); ?></td>
                </tr><?php endforeach; endif; else: echo "" ;endif; ?>
            </tbody>
        </table>
    </div>

<div class="row">
    <div class="col-sm-6 text-left"></div>
    <div class="col-sm-6 text-right"><?php echo ($page); ?></div>
</div>
<script>
    $(".pagination  a").click(function () {
        var href = $(this).attr('href');
        page = href.split('/');
        ajaxGetTable('search-form2', page[page.length - 1]);
        return false;
    });
</script>